package com.busi.model;

import java.io.Serializable;
import java.sql.Timestamp;

public class PointsAudit extends BaseModel implements Serializable {

	private static final long serialVersionUID = -4720456761779900359L;
	
	private long id;//
	private String auditName;	//审核类型
	private String auditContent; //审核内容
	private Integer auditStatus;	 //审核状态（0：待审核 1：审核通过 2：审核未通过）
	private Integer status;		 //加分状态（ 0：待加分  1：加分中 2：加分成功 3：加分失败）
	private String auditUser;	 //审核人
	private Timestamp auditTime; //审核时间
	
	private Timestamp addTime;		//申请时间
	private String addUser;		//申请人
	private Timestamp updateTime;	//修改时间
	private String updateUser;		//修改用户
	
	
	//查询使用
	private Timestamp startAddTime;
	private Timestamp endAddTime;
	
	private Timestamp startAuditTime;
	private Timestamp endAuditTime;
	
	private String auditStatusDesc;
	
	
	public Timestamp getStartAddTime() {
		return startAddTime;
	}
	public void setStartAddTime(Timestamp startAddTime) {
		this.startAddTime = startAddTime;
	}
	public Timestamp getEndAddTime() {
		return endAddTime;
	}
	public void setEndAddTime(Timestamp endAddTime) {
		this.endAddTime = endAddTime;
	}
	public Timestamp getStartAuditTime() {
		return startAuditTime;
	}
	public void setStartAuditTime(Timestamp startAuditTime) {
		this.startAuditTime = startAuditTime;
	}
	public Timestamp getEndAuditTime() {
		return endAuditTime;
	}
	public void setEndAuditTime(Timestamp endAuditTime) {
		this.endAuditTime = endAuditTime;
	}
	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	public String getAuditName() {
		return auditName;
	}
	public void setAuditName(String auditName) {
		this.auditName = auditName;
	}
	public String getAuditContent() {
		return auditContent;
	}
	public void setAuditContent(String auditContent) {
		this.auditContent = auditContent;
	}
	public Integer getAuditStatus() {
		return auditStatus;
	}
	public void setAuditStatus(Integer auditStatus) {
		this.auditStatus = auditStatus;
	}
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	public String getAuditUser() {
		return auditUser;
	}
	public void setAuditUser(String auditUser) {
		this.auditUser = auditUser;
	}
	public Timestamp getAuditTime() {
		return auditTime;
	}
	public void setAuditTime(Timestamp auditTime) {
		this.auditTime = auditTime;
	}
	public Timestamp getAddTime() {
		return addTime;
	}
	public void setAddTime(Timestamp addTime) {
		this.addTime = addTime;
	}
	public String getAddUser() {
		return addUser;
	}
	public void setAddUser(String addUser) {
		this.addUser = addUser;
	}
	public Timestamp getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(Timestamp updateTime) {
		this.updateTime = updateTime;
	}
	public String getUpdateUser() {
		return updateUser;
	}
	public void setUpdateUser(String updateUser) {
		this.updateUser = updateUser;
	}
	public String getAuditStatusDesc() {
		if(auditStatus == 0){
			return "待审核";
		}
		if(auditStatus == 1){
			return "审核通过";
		}
		if(auditStatus == 2){
			return "审核失败";
		}
		return null;
		
	}
	public void setAuditStatusDesc(String auditStatusDesc) {
		this.auditStatusDesc = auditStatusDesc;
	}
	
}